﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using KMS.Core.domain.model.post;
using KMS.Core.domain.model.project;

namespace KMS.Core.domain.model.user
{
    public class User
    {
        public string Username { get; private set; }

        public Resource CreateTextResource(string title, string content, Project project, DateTime dateTime)
        {
            return new Resource(this, title, content, project, dateTime);
        }

        public User(string username)
        {
            Username = username;
        }
    }
}
